//
//  UserModel.h
//  EZ Tracker
//
//  Created by FENGYL on 2016/12/3.
//  Copyright © 2016年 FENGYL. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "singleton.h"

@interface UserModel : NSObject

singleton_interface(UserModel)

@property (copy , nonatomic) NSString * tokenPass;
@property (strong , nonatomic) NSNumber * userID;
@property (strong , nonatomic) NSNumber * clientType;
@property (copy , nonatomic) NSString * userName;

//所有设备
@property (strong , nonatomic) NSMutableArray * deviceByAccountArray;

//所有警报
@property (strong, nonatomic) NSMutableArray * deviceHistoryEventDataByTimeArray;

//设备时间内报警信息
@property (strong, nonatomic) NSMutableArray * deviceHistoryEventLocationByTimeArray;



@property (copy, nonatomic) NSString * currentDeviceName;
@property (copy, nonatomic) NSString * currentDeviceSerialNumber;

@property (assign , nonatomic) BOOL reLogin;

//属性
@property (strong, nonatomic) NSMutableArray *deviceAtrrsArray;

//选中的设备
@property (strong ,nonatomic) NSMutableArray *selectedDeviceSerialNumberArray;

//iconDictionary
@property (strong, nonatomic) NSMutableDictionary *deviceIconDictionary;

//ActivityIndicator start animation array
@property (strong, nonatomic) NSMutableArray *deviceActivityIndicatorArray;

//大头针
@property (strong, nonatomic) NSMutableDictionary *mainViewControllerAnnotationDictionary;

//选择的设备
@property (copy, nonatomic) NSString *selectedDeviceSerialNumber;

//短信电话号码
@property (strong, nonatomic) NSMutableDictionary *msgPhoneNumberDictionary;

//修改过的设备名
@property (strong, nonatomic) NSMutableDictionary *changeDeviceNameDictionary;

@end
